package Org.lanqiao.team.domain;

import Org.lanqiao.team.service.Status;

public class Employee {
    private int id;
    private String name;
    private int age;
    private double salary;
    public Status status = Status.FREE;
    public Equipment equipment;
    public int getId() {
        return id;
    }

    public int getAge() {
        return age;
    }

    public double getSalary() {
        return salary;
    }

    public String getName() {
        return name;
    }

    public Employee() {
    }

    public Employee(int id, String name, int age, double salary){
        this.id = id;
        this.name = name;
        this.age = age;
        this.salary =salary;
    }

    @Override
    public String toString() {
        return
                getId() +"    "+
                        getName()+"    "+
                        getAge()+"    "+
                        getSalary()+"    "+
                        "Employee" +"     "+
                        status;
    }
}
